package com.hhl.flower.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName collection
 */
@TableName(value ="collection")
@Data
public class Collections implements Serializable {
    /**
     * 收藏ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 花ID
     */
    private Integer fId;

    /**
     * 用户ID
     */
    private Integer uId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}